package com.beesphere.excel.reader.tests;

import java.io.FileInputStream;
import java.util.HashMap;
import java.util.Map;

import com.beesphere.excel.reader.impls.xml.ExcelToXmlConverter;

public class CustomTagsTest {
	public static void main (String [] args) throws Exception {
		ExcelToXmlConverter reader = new ExcelToXmlConverter ();
		Map<String, String> tags = new HashMap<String, String> ();
		tags.put("wb", "root");
		tags.put("sh", "data");
		tags.put("rs", "products");
		tags.put("r", "product");
		reader.setTags(tags);
		reader.read (new FileInputStream ("files/in.xls"));
	}
}
